{%  extends 'studentTemp.html' %}

{% block content %}
        <div class="card border-0 shadow-sm">
        <div class="card-header bg-body">
            设置我的资料
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-5">
                    <form id="form" method="post" novalidate>
                        {% csrf_token %}
                        {% for t in tokens %}
                        <div class="row mb-3">
                            <label for="username" class="col-sm-3 col-form-label text-sm-end">{{ t.label }}:</label>
                            <div class="col-sm-9">
{#                                <input type="text" class="form-control" id="username" name="username" readonly value="admin88" disabled>#}
{#                                <div class="form-text">不可修改。一般用于后台登入名</div>#}
                                {{ t }}
                                <span style="color:red;">{{ t.errors.0 }}</span>
                            </div>
                        </div>
                        {% endfor %}
                        <div class="row mb-3">
                            <div class="col-sm-9 offset-sm-3">
                                <button type="submit" class="btn btn-primary">确认修改</button>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock content %}

{% block js %}


{% endblock js %}
